package com.zhongyouyun.cqyc.service;

import com.zhongyouyun.cqyc.model.ShouldKnowModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhongyouyun.cqyc.pojo.ShouldKnowPojo;

import java.util.List;

/**
 * @Author: shenyi
 * @Date: 2023-11-22
 * @Description: 城区须知公告展示服务类
 */

public interface ShouldKnowService extends IService<ShouldKnowModel> {

    IPage<ShouldKnowModel> selectPage(Page<ShouldKnowModel> userPage, QueryWrapper<ShouldKnowModel> queryWrapper);

    List<ShouldKnowModel> selectList(QueryWrapper<ShouldKnowModel> queryWrapper);

    IPage<ShouldKnowPojo> selectPojoPage(Page page, QueryWrapper<ShouldKnowPojo> queryWrapper);
}
